package com.cmc.cloud.cmclink.doc.api.document.req.si;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 单证装卸船数据查询接口DTO
 *
 * @author 申天青
 */
@Schema(description = "单证装卸船数据查询接口DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BlnoVesselVesselPortReqDto{

    @Schema(description = "船名")
    @NotBlank(message = "船名不能为空")
    private String vesselCode;

    @Schema(description = "出口航次", requiredMode = Schema.RequiredMode.REQUIRED)
    private String voyageCodeEx;

    @Schema(description = "进口航次", requiredMode = Schema.RequiredMode.REQUIRED)
    private String voyageCodeIm;

    @Schema(description = "装货港")
    private String polCode;

    @Schema(description = "卸货港")
    private String podCode;

    @Schema(description = "提单号")
    private String blNo;



}
